package com.gio.tools.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 项目配置类
 *
 * @author tm
 * @version 2020/11/23 12:21
 */
@Component
@Data
@ConfigurationProperties(prefix = "project-config")
public class ProjectConfig {

    /**
     * 写入队列间隔时间ms
     */
    private long sendInterval;
    /**
     * 文件上传路径
     */
    private String uploadUrl;

}
